#pragma once
#include<iostream>
namespace TaskModule
{
    class Task
    {
    public:
        Task(){}//无参
        Task(int a,int b):x(a),y(b)//有参
        {}
        //执行
        void Excute()
        {
            result = x + y;//各种任务...
        }

        int X(){return x;}

        int Y(){return y;}

        int Result(){return result;}

        ~Task(){}
    private:
        int x;
        int y;
        int result;
    };
}